package com.haste.system;

import com.haste.system.config.EnableSwagger;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author haste
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.haste.common.**.dao","com.haste.system.**.dao"})
@ComponentScan(basePackages = {"com.haste.common.**","com.haste.system.**"})
@EnableSwagger
public class SystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
    }

}
